*{
	padding: 0;
	margin: 0;
}
//解决滚动条出现页面抖动
html{
  overflow-y: auto;
  overflow-x: hidden;
}
//解决滚动条出现页面抖动
body{
  width: 100vw;
  }
a{
	text-decoration: none;
}
li{
	list-style: none;
}

.header{
    // width: 1500px;
    width: 100%;
    height: 44px;
    box-sizing: border-box;
    padding-left: 50px;
    padding-right: 50px;
    line-height: 44px;
    margin: 0 auto;
    background-color: #f2f2f2;
    font-size: 16px;
  
    .header_left{
      color: #737373;
      float: left;
    
      li{
        float: left;
        margin-right: 25px;
  
        a{
          color: #737373;
        }
      }
    }
  
    .header_right{
      float: right;
      .tips{
        float: left;
        margin-left: 25px;
        color: #737373;
        a{
          color: #737373;
        }
      }
      li{
        float: left;
        margin-left: 25px;
        color: #737373;
  
        div{
          display: none;
        }
  
        a{
          color: #737373;
        }
      }
      
      .customer_service{
        position: relative;
        &:hover{
          div{
            width: max-content;
            display: block;
            position: absolute;
            left: -15px;
            background-color: white;
            border: 1px solid gray;
            box-sizing: border-box;
  
            a{
              padding: 15px;
              display: block;
            }
          }
        }
      }
  
      .shopping_cart{
        position: relative;
        div>div{
            box-sizing: border-box;
            background-color: white;
            // background-color: red;
            min-width: 320px;
            height: 100px;
            line-height: 100px;
            padding-left: 15px;
            position: absolute;
            left: -230px;
            border: 1px solid gray;
        }
        &:hover{
          div{
            z-index: 100;
            display: block;
          }
        }
      }
    }
  }
.preview{
    width: 1480px;
    height: 700px;
    padding: 20px;
    overflow: hidden;
    .left{
        width: 400px;
        height: 700px;
        padding: 10px;
        margin-right: 50px;
        // margin-left: 50px;
        float: left;
        .bigImg{
            width: 400px;
            height: 400px;
            .shadow {
                width: 150px;
                height: 150px;
                background-color: rgba(0, 0, 0, 0.5);
                position: absolute;
                left: 0;
                top: 0;
                display: none;
                border-radius: 5px;
            }
            img{
                width: 100%;
                height: 100%;
                border-radius: 5px;
            }
        }
        .bigImgShow{
            width: 400px;
            height: 400px;
            border-radius: 5px;
            background-color: rgba(125, 255, 255, 0.5);
            position: absolute;
            left: 480px;
            top: 74px;
            overflow: hidden;
            display: none;
            img{
                width: 1330px;
                height: 1330px;
                margin: 240px 0 0 100px;
                border-radius: 5px;
                position: absolute;
                left: 0;
                top: 0;
            }
        }
        ul{
            width: 400px;
            height: 120px;
            display: flex;
            justify-content: center;
            .active{
              border-color: red;
            }
            li{
              width: 80px;
              height: 80px;
              border: 1px solid #6ff;
              
              padding:10px;
                img{
                    width: 80px;
                    height: 80px;
                    border-radius: 5px;
                }
            }
        }
    }
    .right{
        float: left;
        width: 785px;
        height: 500px;
        // padding: 30px 0;
        h2{
            font-size: 48px;
            margin-bottom: 35px;
        }
        .price{
            font-size: 30px;
            color: #ff3d12;
            margin-bottom: 35px;
        }
        .buyNum{
            height: 40px;
            line-height: 40px;
            overflow: hidden;
            margin-bottom: 10px;
            span{
                font-size: 40px;
                float: left;
                cursor: pointer;
            }
            input{
                height: 20px;
                float: left;
                // margin-top: 12px;
                margin: 12px;
            }
        }

        .provinces{
            margin-bottom: 15px;
        }

        .addToCar{
            width: 260px;
            height: 70px;
            border-radius: 30px;
            background-color: #ff6b43;
            font-size: 28px;
            color: #fff;
        }
    }
}